package com.nativetalk.service.live.update;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.live.TdNtLiveCourseHisUpdate;
import com.nativetalk.bean.live.TdNtLiveCourseInsert;
import com.nativetalk.bean.live.TdNtLivePictureDelete;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

/**
 * Created by lizhun on 16/5/14.
 */
public interface LiveUpdateService {
    /**
     * @Purpose  删除图片
     * @version  2.0
     * @author   lizhun
     * @param    tdNtLivePictureDelete
     * @return   RetInfo
     */
    public RetInfo deleteLivePicture(TdNtLivePictureDelete tdNtLivePictureDelete);
    /**
     * @Purpose  更新直播
     * @version  2.0
     * @author   lizhun
     * @param    tdNtLiveCourseInsert
     * @return   RetInfo
     */
    public RetInfo updateLive(TdNtLiveCourseInsert tdNtLiveCourseInsert, CommonsMultipartFile cover);
    /**
     * @Purpose  开始直播
     * @version  2.0
     * @author   lizhun
     * @param    tdNtLiveCourseHisUpdate
     * @return   RetInfo
     */
    public RetInfo start(TdNtLiveCourseHisUpdate tdNtLiveCourseHisUpdate);
    /**
     * @Purpose  结束直播
     * @version  2.0
     * @author   lizhun
     * @param    tdNtLiveCourseHisUpdate
     * @return   RetInfo
     */
    public RetInfo end(TdNtLiveCourseHisUpdate tdNtLiveCourseHisUpdate);
}
